package com.example.springbootstudy03jsp.repository;

import com.example.springbootstudy03jsp.bean.User;

import java.util.Collection;

public interface UserDao {
    public Collection<User> findAll();
    public User findById(Integer id);
    public void save(User user);
    public void update(User user);
    public void delect(Integer id);
}
